package com.lysj.merchant.desk.controller;

import com.lysj.admin.utils.spring.foundation.base.BaseController;
import com.lysj.merchant.desk.domain.DeskType;
import com.lysj.merchant.desk.service.DeskTypeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author Created by drj on 2019-03-07 14:35:45
 * @description 餐桌类型控制层
 */
@Slf4j
@RestController
@RequestMapping("/merchant/desk_type")
public class DeskTypeController extends BaseController<DeskType>{

    @Resource
    private DeskTypeService deskTypeService;

    @Override
    public DeskTypeService getService() {
        return deskTypeService;
    }

}
